package com.tao.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("tab_house_list")
public class Product {
    @TableId
    private Long id;
    private String title;
    private String categoryName;
    private String addressName;
    private String address;
    private String score;
    private String scoreCount;
    private double price;
    private String image;
    private String imageList;
    private int hot;
    @TableField(fill = FieldFill.INSERT)
    private int status;

    @TableField(fill = FieldFill.INSERT)
    private int sort;

    @TableField(fill = FieldFill.INSERT)
    private Long createBy;

    @TableField(fill=FieldFill.UPDATE)
    private Long updateBy;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    private Integer delFlag;


}
